<ion-header>
    <ion-navbar color="dark">
        <ion-title>
            兑换记录
        </ion-title>
    </ion-navbar>
</ion-header>

<ion-content>
    <ion-list>

        <ion-item *ngFor="let k of data_lists; let i = index ">

            <ion-card-content>
                <div class="you">
                    <!--上-->
                    <div class="you_top">
                        <img src="{{k.thumb}}" alt="">
                        <section>
                            <h4>{{k.shopname}}</h4>
                            <p>兑换时间：{{k.time}}</p>

                        </section>
                    </div>
                    <!--下-->
                    <div class="you_bot">
                        <h4 class="fa_xinxi">{{k.status}}</h4>
                        <button (click)='can(i)'>{{k.isYNA}}</button>


                    </div>
                </div>
            </ion-card-content>

        </ion-item>
    </ion-list>

    <!--收货地址  -->
    <div class="scrizz" >
        <div>
            <!-- 地址信息 -->
            <div class="dizhi">
                <h4>添加收货地址</h4>
                
                <form  class="form">

                    <ion-item>
                        <ion-label>姓名：</ion-label>
                        <ion-input type="text" [(ngModel)]='dingName' name='name'></ion-input>
                    </ion-item>

                    <ion-item>
                        <ion-label>联系电话：</ion-label>
                        <ion-input type="text" [(ngModel)]='dingIphone' name='dingIphone'></ion-input>
                    </ion-item>
                    <ion-item>
                        <ion-label>邮政编码：</ion-label>
                        <ion-input type="text" [(ngModel)]="dingBian" name='dingBian'></ion-input>
                    </ion-item>
                    <ion-item>
                        <ion-label>所在地区：</ion-label>
                        <ion-input type="text" [(ngModel)]='dingDi' name='dingDi'></ion-input>
                    </ion-item>
                    <ion-item>
                        <ion-label>详细地址：</ion-label>
                        <ion-input type="text" [(ngModel)]='dingXiang' name='dingXiang'></ion-input>
                    </ion-item>
                    <button (click)='bao()'>保存</button>
                </form>
            </div>
       </div>
    </div>



</ion-content>